@use "styles/Radius.module.scss";
@use "styles/Spacings.module.scss";
@use "styles/Typography.module.scss";

.menu_button_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: Spacings.$spacing03;
  border-radius: Radius.$normal;
  overflow: hidden;
  border-left: 2px solid transparent;

  &.selected {
    border-left: 2px solid var(--primary-0);
    border-radius: 0 Radius.$normal Radius.$normal 0;
  }

  .left {
    display: flex;
    align-items: center;
    gap: Spacings.$spacing03;
    overflow: hidden;

    .title {
      @include Typography.EllipsisOverflow;
      font-size: Typography.$small;
      color: var(--text-3);

      &.gold {
        color: var(--gold);
      }

      &.primary {
        color: var(--primary-0);
      }
    }
  }

  &:hover {
    background-color: var(--background-3);
  }
}